module.exports = function (sequelize, DataTypes) {
    var model = sequelize.define("users",
        {
            id: {type: DataTypes.BIGINT, primaryKey: true, autoIncrement: true},
            login_name: {type: DataTypes.STRING},
            password: {type: DataTypes.STRING},
        }, {
            createdAt: 'created_at',
            updatedAt: 'updated_at'
        });

    sequelize.Users = model;
    return model;
};